package cn.kgc.fallback;

import cn.kgc.pojo.DmOrder;

import cn.kgc.client.RestDmOrderClient;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public class DmOrderClientFallBack implements RestDmOrderClient {


    @Override
    public DmOrder getDmOrderById(Long id) throws Exception {
        return null;
    }

    @Override
    public List<DmOrder> getDmOrderListByMap(Map
                                                     <String, Object> param) throws Exception {
        return null;
    }

    @Override
    public Integer getDmOrderCountByMap(Map
                                                <String, Object> param) throws Exception {
        return null;
    }

    @Override
    public Integer qdtxAddDmOrder(DmOrder dmOrder) throws Exception {
        return null;
    }

    @Override
    public Integer qdtxModifyDmOrder(DmOrder dmOrder) throws Exception {
        return null;
    }

    @Override

    public Integer qdtxDelDmOrder(Long id) throws Exception {
        return null;
    }

    @Override
    public boolean processedPay(String out_trade_no, Integer type) throws Exception {
        return false;
    }

    @Override
    public Integer flushCancelOrder() {
        return null;
    }
}
